package com.deer.wms.base.system.model.zh;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @author 申紫微
 * @version 1.0
 * @description WMS查询成品托信息
 * @data 2021-06-18 14:14:12
 */
public class ZhResultMESFinishProduct {

    /**MES返回成功的code**/
    public static final Integer SUCCESS_CODE = 0;
    /**MES返回失败的code**/
    public static final Integer FAIL_CODE = 1;

    private Integer code;
    private String id;
    private String date;
    private String msg;
    private String tId;
    private String steelWireResult;

    @JsonProperty(value = "info")
    private List<ZhItemMESFinishProduct> info;

    public String gettId() {
        return tId;
    }

    public void settId(String tId) {
        this.tId = tId;
    }

    public String getSteelWireResult() {
        return steelWireResult;
    }

    public void setSteelWireResult(String steelWireResult) {
        this.steelWireResult = steelWireResult;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ZhItemMESFinishProduct> getInfo() {
        return info;
    }

    public void setInfo(List<ZhItemMESFinishProduct> info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "ZhResultMESFinishProduct{" +
                "code=" + code +
                ", id='" + id + '\'' +
                ", date='" + date + '\'' +
                ", msg='" + msg + '\'' +
                ", tId='" + tId + '\'' +
                ", steelWireResult='" + steelWireResult + '\'' +
                ", info=" + info +
                '}';
    }
}
